//
//  VCLoader.swift
//  HuaYun
//
//  Created by enghou on 2018/7/16.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

import UIKit

class VCLoader: NSObject {
    
    static func vc(with storyboard: String,storyboardid: String)->UIViewController? {
        
        let story = UIStoryboard(name: storyboard, bundle: Bundle.main)
        
        return story.instantiateViewController(withIdentifier: storyboardid)
        
    }
}
